﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharepointSolutionInstaller.Utils.RequiredChecks
{
    /// <summary>
    /// Checks if Microsoft Office Server 2007 is installed.
    /// </summary>
    internal class MOSSInstalledCheck : SystemCheck
    {
        internal MOSSInstalledCheck() : base("MOSSInstalledCheck") { }

        protected override SystemCheckResult DoExecute()
        {
            if (IsMOSSInstalled) return SystemCheckResult.Success;
            return SystemCheckResult.Error;
        }
    }
}
